<!-- <template>
    <van-tabbar v-model="active">
        <van-tabbar-item icon="home-o">我的</van-tabbar-item>
        <van-tabbar-item icon="search" dot>标签</van-tabbar-item>
        <van-tabbar-item icon="friends-o" info="5">标签</van-tabbar-item>
        <van-tabbar-item icon="setting-o" info="20">标签</van-tabbar-item>
      </van-tabbar>
</template>

  <script>
    export default {
    data() {
      return {
        active: 0
      }
    }
  }
  
  </script> -->


<template>
  <div class="footer">
    <van-tabbar v-model="active" >
      <van-tabbar-item icon="home-o" to="/">首页</van-tabbar-item>
      <van-tabbar-item icon="search" dot to="/kind">分类</van-tabbar-item>
      <van-tabbar-item icon="friends-o" info="5" to="/shopcart">购物车</van-tabbar-item>
      <van-tabbar-item icon="setting-o"  to="/mine">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
 export default {
    data() {
      return {
        active: 0
      }
    }
   
  }
</script>
